package com.black.opencvStudy;

import org.opencv.core.Core;
import org.opencv.core.Mat;
import org.opencv.highgui.HighGui;

/**
 * @description：
 * 加载环境的类
 * @author：8568
 */
public abstract class OpencvEV {

    static {
        System.loadLibrary( Core.NATIVE_LIBRARY_NAME );
    }

    public static void showImg(Mat img, String windowName) {
        HighGui.namedWindow(windowName);
        HighGui.imshow(windowName, img);
        HighGui.waitKey(0);
    }

}
